package com.woniuxy.cloud.carl.carlgoods.client;

import com.woniuxy.cloud.carl.carlgoods.client.param.AddSpuParam;
import com.woniuxy.cloud.carl.carlgoods.client.param.AddSpuSalesParam;
import com.woniuxy.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "SpuMannagerClient",name="carlgoods")
public interface SpuMannagerClient {
@PostMapping("/addSpu")
    public Result addSpu(@RequestBody AddSpuParam param);
@PostMapping("/addSpuSales")
public Result addSpuSales(@RequestBody AddSpuSalesParam param);
}
